<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>省份demo</title>
    <script type="text/javascript"  src="city.js"></script>
</head>
<body>
    <form action="">
         <label for="">省份:</label>
        <select  id="province" >
            <option value="">-- 请选择省份 --</option>         
            <option value="北京" >北京</option>
            <option value="天津" >天津</option>
            <option value="河北" >河北</option>
            <option value="河南" >河南</option>
          
        </select>
        <label for="">城市:</label>
        <select  id="city" >
           <option value="">-- 请选择城市 --</option>
        </select>
    </form>
</body>
</html>